package com.gitee.kenewstar.migration;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author kenewstar
 */
@EnableAspectJAutoProxy(exposeProxy = true)
@RestController
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.gitee.kenewstar.migration.mapper")
public class DataMigrationApp {

    @GetMapping("/demo")
    public String demo() {
        return "demo";
    }

    public static void main(String[] args) {
        SpringApplication.run(DataMigrationApp.class, args);
    }


}
